/*
 * TreeNode.cpp
 *
 *  Created on: 2014年6月10日
 *      Author: rock
 */

#include "TreeNode.h"


TreeNode::TreeNode()
{
	data = 0;
	leftchild = NULL;
	rightchild = NULL;

}

TreeNode::TreeNode(int d)
{
	data = d;
	leftchild = NULL;
	rightchild = NULL;

}
